-- GENERATED SPELL FOR [Rascal Sprite] --


function spell0_2002(pUnit, Event) --@Faerie Fire,n/a--
pUnit:FullCastSpellOnTarget(6950,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2002', 2000, 1)
end

function Sorts_2002(pUnit, Event)
local choix_sorts_2002 = math.random(0, 0)
if choix_sorts_2002 == 0 then
pUnit:RegisterEvent('spell0_2002', 1, 1)
end
end

function mob2002_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2002', math.random(1500, 3000), 1)
end

function mob2002_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2002_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2002_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2002, 1, 'mob2002_Action')
RegisterUnitEvent(2002, 2, 'mob2002_Leave')
RegisterUnitEvent(2002, 3, 'mob2002_Kill')
RegisterUnitEvent(2002, 4, 'mob2002_Die')
